Report settings

This topic describes settings that affect the entire report. While the main report's properties can be accessed via the Smart Tag, the complete list of settings is available in the Property Grid, where all the report's properties are divided into the following groups.

Appearance

Property Description
Background Color Specifies the background color of report elements.
Borders, Border Color, Border Dash Style and Border Width Specify border settings for report elements.
Font Specifies the font settings for report elements. Some of these settings are available in the Font section on the ribbon.
Foreground Color Specifies the text color for report elements. This option is also available in the Font section on the ribbon.
Formatting Rule Sheet Opens the Formatting Rule Sheet Editor, allowing you to manage and customize formatting rules, which can then be defined for a report's bands and controls. To learn more, see Conditionally change a control's appearance.
Formatting Rules Opens the Formatting Rules Editor, allowing you to choose which rules should be applied to the report during report generation, and define the precedence of the applied rules. To learn more, see Conditionally change a control's appearance.
Padding Specifies indent values used to render the contents of a report's controls.
Page Color Specifies the fill color for report pages. This color may be changed later in a report's Print Preview.
Style Sheet Opens the Styles Editor, which is intended to manage and customize a report's style sheets. To learn more, see Store and restore style sheets.
Style Sheet Path Allows you to define a path to the style sheet contained in a report style sheet file (.REPSS). To learn more, see Store and restore style sheets.
Text Alignment Allows you to change the alignment of a report control’s text.
Watermark Allows you to customize a report's watermark options. For more information about this, see Change background and watermark settings.

Behavior

Property Description
Display Name

Specifies the name of the report, which is displayed in its tab.

Report Display Name

Export Options Allows you to set the export options for each file type (PDF, XLS, TXT, etc.). These options vary with the file type.
Horizontal Content Splitting Allows you to choose whether report controls outside the bottom page margin should be split across pages, or moved in their entirety to the next page.
Measure Units Allows you to choose units of measurement for a report (one hundredth of an inch or a tenth of a millimeter).
Script Language Allows you to choose the programming language to be used in scripting (C#, Visual Basic or J#).
Script References Allows you to manage the collection of strings that represent the paths to the assemblies used by the scripts in a report.
Scripts This property contains events which you can handle with the required scripts. See Handle events via scripts.
Show (Preview) Margin Lines The page margin lines are dotted lines shown on the currently selected page in the report's preview. Use this property to change the visibility of these lines.
Vertical Content Splitting Allows you to choose whether report controls outside the right page margin should be split across pages, or moved in their entirety to the next page. This option is useful for cross-tab reports.
Visible Specifies whether a report should be created in Print Preview.

Data

Property Description
Calculated Fields Allows you to access a report's calculated fields collection.
Data Adapter Determines a report's data adapter used to populate the report's data source. It is created automatically when the Data Member property is defined.
Data Member

Determines a specific list in a report's data source, for which the Report Designer objects display data.

Note: Usually, it is not necessary to specify the Data Member property when binding a report to data. This property should only be set directly if the data set contains more than one table.

Data Source Determines a report's data source.
Filter String Allows you to open the Filter String Editor, which is intended to easily define a filtering condition for a report's data. For more information, see Change or apply data filtering.
Tag This property allows you to add some additional information to a report; for example its id, by which it can then be accessible via scripts.
XML Data Path Allows you to define a path to data contained in an external XML file. The data contained in the file will then be used as a report's data source.

Design

Property Description
(Name) Determines a report's name, by which it can be accessed in the Report Explorer, Property Grid or via scripts.
Data Source's Schema Allows you to load an XML/XSD file, containing the schema of a report's data source.
Designer Options

Show Designer's Hints:The designer hints are intended to provide tooltips, both describing the purpose of certain report elements for inexperienced users, and describing the reasons and solutions for possible export or printing warnings. By using this property, these hints can be turned on or off.

Tooltip with Designer's Hints

Show Export Warnings: The export warnings appear when report controls are overlapped, indicating that a report layout may be incorrect when exporting to certain table-based formats (such as XLS, HTML or RTF).

Tooltip with export warning

Show Printing Warnings: The printing warnings are intended to notify you that some of a report's controls are placed outside the right page margin, so that the report contains unnecessary pages.

Tooltip with printing warning

Draw the Grid Determines whether to draw the Snap Grid when a report is being designed.
Draw the Watermark Gets or sets a value indicating whether or not to draw a watermark at design time.
Snap Grid Size Determines the size of the Snap Grid cells.
Snap to Grid Specifies whether to snap controls to the Snap Grid when they are located or resized.
Snapping Mode Specifies the snapping mode for report elements when they are being aligned using the Snap Grid.

Navigation

Property Description
Bookmark Allows you to define how a report is named in the document map when the report bookmarks are implemented. By default, it is synchronized with the report's Name property.

Page Settings

Property Description
Using Settings of the Default Printer Specifies which of the default printer's settings should be used when printing a report.
Landscape Determines whether the page orientation is Landscape (when set to Yes) or Portrait (when set to No).
Margins

Determines the width of a report's margins (measured in report units).

Note: The report's Margins.Top and Margins.Bottom properties are tied to the Height property of the Page Margin Bands. So, changing values of these properties will change the height value of the appropriate bands as well, and vice versa.

Page Height Specifies page height, in report units. This property can only be set if the Paper Kind property is set to Custom.
Page Width Specifies page width, in report units. This property can only be set if the Paper Kind property is set to Custom.
Paper Kind

Determines the type of paper for a report. Setting this property to any value different from Custom will prevent the Page Height, Page Width and Paper Name properties from being customized.

Note: If the Paper Kind property is set to Custom, then the printer paper will be selected according to the Paper Name property's value. In this case, it's also necessary to set the Page Width and Page Height properties to the corresponding values of the paper selected.

Paper Name

Determines the name of the custom paper used in the printer that will print the document.

The Paper Name property's value is in effect only when the Paper Kind property is set to Custom. If the printer on which a document is printed doesn't support the paper type specified by the Paper Name property's value, then it will default to the Letter paper size. In this case, it's also necessary to set the Page Width and Page Height properties to the corresponding values of the selected paper.

Printer Name Determines the name of the printer to use when printing a report. Note that the specified printer should be installed on the machine.
Roll Paper Specifies whether the document is supposed to be printed on roll paper (i.e., as a single uninterrupted

Parameters

Property Description
Parameters Allows you to access a report's parameters collection.
Request Parameters Allows you to define whether it is required to request the values of a report's parameters when generating the report.

Printing

Property Description
Report Print Options Contains report printing options.

Show Print Margin Warnings

Specifies whether an error message is shown when the page margins are set outside the printable area.

Tooltip with print margin warning

Show Print Status Dialog

Specifies whether a print status dialog is shown when a document is being printed.

Structure

Property Description
Bands Allows you to open the Report Editor to manage and customize a report's bands.